package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * <desc>
 *    访客通行记录实体类
 * </desc>
 *
 * @createDate 2018-06-27
 */
@ItlTables("visitor_pass_record")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class VisitorPassRecordPO extends BasePO implements Serializable {


    @ItlField("pass_id")
    private String passId;              //通行密码记录id (关联访客表)

    @ItlField("project_id")
    private String projectId;           //项目编号

    @ItlField("device_unique")
    private String deviceUnique;        //设备序列号

    @ItlField("pass_type")
    private Integer passType;           //通行方式 1密码开门 2二维码开门

    @ItlField("pass_time")
    private Date passTime;              //通行时间

    @ItlField("face_pic_url")
    private String facePicUrl;              //通行图片地址

    @ItlField("online")
    private Integer online;             //sdk类型 1在线 2离线

    @ItlField("qrcode_source")
    private Integer qrcodeSource;               //二维码来源

    @ItlField("timescount")
    private Integer timescount;             //是否计次： 1是 0否
}